package com.cardvalue.sys.newnetwork;

/**
 * 环境 变量配置
 * Created by cardvalue on 2016/4/5.
 */
public class Config {
    public static final  boolean isPrintLog = true;         //	是否打印日志
    public static final  String printTag = "日志打印";         //	打印的标题
    public static final  boolean isDebug = true;            //	是否在调试模式(false生产，true测试)


    public static final String RealServerIp = "http://api.cvbaoli.com/rest/app/2.0/";              //正式环境的API IP
    public static final String RealWeixinIp = "http://www.cvbaoli.com/penguin/";                //正式微信服务器

    public static final String ServerIp = "http://apitest.cvbaoli.com/rest/app/2.0/";      	   //测试服务器IP
    public static final String WeixinIp = "http://www.cvbaoli.com/webak/" ;                    //微信测试服务器IP

    //获取服务器IP
    public static String getServerIp(){
        return isDebug?ServerIp:RealServerIp;
    }

    public static String getWeixinIp(){
        return isDebug?WeixinIp:RealWeixinIp;
    }

}
